Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve test covr #12

Merged
merged 3 commits into from
May 25, 2023
Merged

improve test covr #12

merged 3 commits into from
May 25, 2023

Conversation

misarb
Copy link
Contributor

@misarb misarb commented May 21, 2023

The pull request includes changes that augment the test coverage to 78.38%, with a focus on the graph_test file.
The changes in the pull request encompass the following:

  • Addition of new test cases to cover the graph module.

  • Improvement of existing test cases to include edge cases and handle exceptions appropriately.

I have ensured that all tests pass successfully,

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there! Thank you for creating your first pull-request on the Graaf library :)

Copy link
Owner

@bobluppes bobluppes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for working on this, looks great 😃

I would not change the .gitignore in this PR, but once that it adressed I would be happy to merge. Also added a small comment on the exception tests, you can choose whether you want to address it or leave as-is.

Tagging #8 as this addresses part of the issue.

.gitignore Outdated Show resolved Hide resolved
test/graaflib/graph_test.cpp Outdated Show resolved Hide resolved
Co-authored-by: Bob Luppes <bobluppes@gmail.com>
@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +27.02 🎉

Comparison is base (8330f42) 72.97% compared to head (f13400d) 100.00%.

Additional details and impacted files
@@             Coverage Diff              @@
##             main       #12       +/-   ##
============================================
+ Coverage   72.97%   100.00%   +27.02%     
============================================
  Files           3         8        +5     
  Lines          74       395      +321     
  Branches       22         0       -22     
============================================
+ Hits           54       395      +341     
+ Misses          7         0        -7     
+ Partials       13         0       -13     
Impacted Files Coverage Δ
test/graaflib/graph_test.cpp 100.00% <100.00%> (ø)

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Owner

@bobluppes bobluppes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing this, LGTM 👍🏻

@bobluppes bobluppes merged commit e6d2b96 into bobluppes:main May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants